package com.tang.shardingjdbcdemo5.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@TableName("t_dept")
public class Dept {
    @TableId(value = "dept_id", type = IdType.AUTO)
    private Integer deptId;
    private String deptName;
    private Integer userId;
    private String year;
}
